package com.ruoyi.system.domain.supe;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;
/**
 * 商家分销对象 distribution_team
 *
 * @author ruoyi
 * @date 2021-02-06
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DistributionTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家分销ID */
    private Long distributionId;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long supplierId;
    private Long supplierIdfx;

    /** 超管分销佣金表ID */
    @Excel(name = "超管分销佣金表ID")
    private Long commissionId;

    /** 商家分销编号 */
    @Excel(name = "商家分销编号")
    private String distributionCode;

    /** AppID */
    @Excel(name = "AppID")
    private String appId;

    /** AppSecent */
    @Excel(name = "AppSecent")
    private String appSecent;

    /** 商品URL,暂用 */
    @Excel(name = "商品URL,暂用")
    private String distributionUrl;

    /** 0启用  1禁用 */
    @Excel(name = "0启用  1禁用")
    private String distributionState;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;
}
